package com.qyhl.webtv.module_microvideo.shortvideo.user;


import com.qyhl.webtv.commonlib.entity.microvideo.ShortVideoUserBean;

public class ShortVideoUserCenterPresenter implements ShortVideoUserCenterContract.ShortVideoUserCenterPresenter {
    private ShortVideoUserActivity mView;
    private ShortVideoUserCenterModel mModel;

    ShortVideoUserCenterPresenter(ShortVideoUserActivity mView) {
        this.mView = mView;
        this.mModel = new ShortVideoUserCenterModel(this);
    }

    @Override
    public void getUserInfo(String phone) {
        mModel.getUserInfo(phone);
    }

    @Override
    public void setUserInfo(ShortVideoUserBean bean) {
        mView.setUserInfo(bean);
    }

    @Override
    public void setUserError(String msg) {
        mView.setUserError(msg);
    }
}
